/**
 * Generate time : 2011-06-13 15:22:18
 * Version : 1.0.1.V20070717
 */
package com.baosight.sczx.zm.cm.domain;

import com.baosight.iplat4j.util.NumberUtils;
import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;

/**
 * ZMCMMaterialbasicinfo
 * 
 */
public class ZMCMMaterialBasicInfo extends DaoEPBase {

	private String fdKeyId = " "; /* 主键 */
	private String fdMaterialCode = " "; /* 物资编码 */
	private String fdMaterialInnerCode = " "; /* 物资内码 */
	private String fdMaterialTypeId = " "; /* 材料类别ID */
	private String fdMaterialLastCode = " "; /* 物资尾码 */
	private String fdMaterialName = " "; /* 物资名称 */
	private String fdMaterialType = " "; /* 物资类型 */
	private String fdSpecModel = " "; /* 规格型号 */
	private String fdNumber = " "; /* 图号 */
	private String fdQuality = " "; /* 材质 */
	private String fdMetric = " "; /* 计量单位 */
	private Double fdPrice = new Double(0); /* 单价 */
	private String fdMatchDevice = " "; /* 适用设备 */
	private String fdPurchasePeriod = " "; /* 采购周期 */
	private Double fdWeight = new Double(0); /* 重量 */
	private String fdSize = " "; /* 外型尺寸 */
	private String fdParameter = " "; /* 技术指标 */
	private String fdFactory = " "; /* 主要生产厂 */
	private String fdSupplyName=" ";  /*主要供应商*/
	private String fdMaterialStatus = " "; /* 物资状态 */
	private String fdRemark = " "; /* 备注 */
	// 新加字段
	private Double fdStockNum = new Double(0);// 库存数量
	private Double fdSafeBaseNum = new Double(0);// 安全库存
	private Double fdNeedNum = new Double(0);// 需求数量
	private String fdTypeCode = " ";// 类别编码
	private String fdTypeAllCode = " ";// 类别全码
	private String fdTypeName = " ";// 类别名称
	private String fdMetricName = " "; /* 计量单位名称 */

	/**
	 * initialize the metadata
	 */
	public void initMetaData() {
		EiColumn eiColumn;

		eiColumn = new EiColumn("fdKeyId");
		eiColumn.setPrimaryKey(true);
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("主键");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialCode");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("物资编码");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialInnerCode");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("物资内码");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialTypeId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("材料类别ID");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialLastCode");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("物资尾码");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialName");
		eiColumn.setFieldLength(80);
		eiColumn.setDescName("物资名称");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialType");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("物资类型");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSpecModel");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("规格型号");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdNumber");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("图号");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdQuality");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("材质");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMetric");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("计量单位");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdPrice");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("单价");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMatchDevice");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("适用设备");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdPurchasePeriod");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("采购周期");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdWeight");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("重量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSize");
		eiColumn.setFieldLength(100);
		eiColumn.setDescName("外型尺寸");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdParameter");
		eiColumn.setFieldLength(500);
		eiColumn.setDescName("技术指标");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdFactory");
		eiColumn.setFieldLength(500);
		eiColumn.setDescName("主要生产厂");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdSupplyName");
		eiColumn.setFieldLength(200);
		eiColumn.setDescName("主要供应商");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialStatus");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("物资状态");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdRemark");
		eiColumn.setFieldLength(500);
		eiColumn.setDescName("备注");
		eiMetadata.addMeta(eiColumn);
		
		//新加数量
		eiColumn = new EiColumn("fdStockNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("库存数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSafeBaseNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("安全库存");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdNeedNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("需求数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdTypeCode");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("类别编码");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdTypeAllCode");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("物资分类编码");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdTypeName");
		eiColumn.setFieldLength(80);
		eiColumn.setDescName("类别名称");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdMetricName");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("计量单位名称");
		eiMetadata.addMeta(eiColumn);

	}

	/**
	 * the constructor
	 */
	public ZMCMMaterialBasicInfo() {
		initMetaData();
	}

	/**
	 * get the fdKeyId - 主键
	 * 
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}

	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}

	/**
	 * get the fdMaterialCode - 物资编码
	 * 
	 * @return the fdMaterialCode
	 */
	public String getFdMaterialCode() {
		return this.fdMaterialCode;
	}

	/**
	 * set the fdMaterialCode - 物资编码
	 */
	public void setFdMaterialCode(String fdMaterialCode) {
		this.fdMaterialCode = fdMaterialCode;
	}

	/**
	 * get the fdMaterialInnerCode - 物资内码
	 * 
	 * @return the fdMaterialInnerCode
	 */
	public String getFdMaterialInnerCode() {
		return this.fdMaterialInnerCode;
	}

	/**
	 * set the fdMaterialInnerCode - 物资内码
	 */
	public void setFdMaterialInnerCode(String fdMaterialInnerCode) {
		this.fdMaterialInnerCode = fdMaterialInnerCode;
	}

	/**
	 * get the fdMaterialTypeId - 材料类别ID
	 * 
	 * @return the fdMaterialTypeId
	 */
	public String getFdMaterialTypeId() {
		return this.fdMaterialTypeId;
	}

	/**
	 * set the fdMaterialTypeId - 材料类别ID
	 */
	public void setFdMaterialTypeId(String fdMaterialTypeId) {
		this.fdMaterialTypeId = fdMaterialTypeId;
	}

	/**
	 * get the fdMaterialLastCode - 物资尾码
	 * 
	 * @return the fdMaterialLastCode
	 */
	public String getFdMaterialLastCode() {
		return this.fdMaterialLastCode;
	}

	/**
	 * set the fdMaterialLastCode - 物资尾码
	 */
	public void setFdMaterialLastCode(String fdMaterialLastCode) {
		this.fdMaterialLastCode = fdMaterialLastCode;
	}

	/**
	 * get the fdMaterialName - 物资名称
	 * 
	 * @return the fdMaterialName
	 */
	public String getFdMaterialName() {
		return this.fdMaterialName;
	}

	/**
	 * set the fdMaterialName - 物资名称
	 */
	public void setFdMaterialName(String fdMaterialName) {
		this.fdMaterialName = fdMaterialName;
	}

	/**
	 * get the fdMaterialType - 物资类型
	 * 
	 * @return the fdMaterialType
	 */
	public String getFdMaterialType() {
		return this.fdMaterialType;
	}

	/**
	 * set the fdMaterialType - 物资类型
	 */
	public void setFdMaterialType(String fdMaterialType) {
		this.fdMaterialType = fdMaterialType;
	}

	/**
	 * get the fdSpecModel - 规格型号
	 * 
	 * @return the fdSpecModel
	 */
	public String getFdSpecModel() {
		return this.fdSpecModel;
	}

	/**
	 * set the fdSpecModel - 规格型号
	 */
	public void setFdSpecModel(String fdSpecModel) {
		this.fdSpecModel = fdSpecModel;
	}

	/**
	 * get the fdNumber - 图号
	 * 
	 * @return the fdNumber
	 */
	public String getFdNumber() {
		return this.fdNumber;
	}

	/**
	 * set the fdNumber - 图号
	 */
	public void setFdNumber(String fdNumber) {
		this.fdNumber = fdNumber;
	}

	/**
	 * get the fdQuality - 材质
	 * 
	 * @return the fdQuality
	 */
	public String getFdQuality() {
		return this.fdQuality;
	}

	/**
	 * set the fdQuality - 材质
	 */
	public void setFdQuality(String fdQuality) {
		this.fdQuality = fdQuality;
	}

	/**
	 * get the fdMetric - 计量单位
	 * 
	 * @return the fdMetric
	 */
	public String getFdMetric() {
		return this.fdMetric;
	}

	/**
	 * set the fdMetric - 计量单位
	 */
	public void setFdMetric(String fdMetric) {
		this.fdMetric = fdMetric;
	}

	/**
	 * get the fdPrice - 单价
	 * 
	 * @return the fdPrice
	 */
	public Double getFdPrice() {
		return this.fdPrice;
	}

	/**
	 * set the fdPrice - 单价
	 */
	public void setFdPrice(Double fdPrice) {
		this.fdPrice = fdPrice;
	}

	/**
	 * get the fdMatchDevice - 适用设备
	 * 
	 * @return the fdMatchDevice
	 */
	public String getFdMatchDevice() {
		return this.fdMatchDevice;
	}

	/**
	 * set the fdMatchDevice - 适用设备
	 */
	public void setFdMatchDevice(String fdMatchDevice) {
		this.fdMatchDevice = fdMatchDevice;
	}

	/**
	 * get the fdPurchasePeriod - 采购周期
	 * 
	 * @return the fdPurchasePeriod
	 */
	public String getFdPurchasePeriod() {
		return this.fdPurchasePeriod;
	}

	/**
	 * set the fdPurchasePeriod - 采购周期
	 */
	public void setFdPurchasePeriod(String fdPurchasePeriod) {
		this.fdPurchasePeriod = fdPurchasePeriod;
	}

	/**
	 * get the fdWeight - 重量
	 * 
	 * @return the fdWeight
	 */
	public Double getFdWeight() {
		return this.fdWeight;
	}

	/**
	 * set the fdWeight - 重量
	 */
	public void setFdWeight(Double fdWeight) {
		this.fdWeight = fdWeight;
	}

	/**
	 * get the fdSize - 外型尺寸
	 * 
	 * @return the fdSize
	 */
	public String getFdSize() {
		return this.fdSize;
	}

	/**
	 * set the fdSize - 外型尺寸
	 */
	public void setFdSize(String fdSize) {
		this.fdSize = fdSize;
	}

	/**
	 * get the fdParameter - 技术指标
	 * 
	 * @return the fdParameter
	 */
	public String getFdParameter() {
		return this.fdParameter;
	}

	/**
	 * set the fdParameter - 技术指标
	 */
	public void setFdParameter(String fdParameter) {
		this.fdParameter = fdParameter;
	}

	/**
	 * get the fdFactory - 主要生产厂
	 * 
	 * @return the fdFactory
	 */
	public String getFdFactory() {
		return this.fdFactory;
	}

	/**
	 * set the fdFactory - 主要生产厂
	 */
	public void setFdFactory(String fdFactory) {
		this.fdFactory = fdFactory;
	}
	
	/**
	 * get the fdSupplyName - 主要供应商
	 * 
	 * @return the fdSupplyName
	 */
	public String getFdSupplyName() {
		return this.fdSupplyName;
	}

	/**
	 * set the fdSupplyName - 主要供应商
	 */
	public void setFdSupplyName(String fdSupplyName) {
		this.fdSupplyName = fdSupplyName;
	}

	/**
	 * get the fdMaterialStatus - 物资状态
	 * 
	 * @return the fdMaterialStatus
	 */
	public String getFdMaterialStatus() {
		return this.fdMaterialStatus;
	}

	/**
	 * set the fdMaterialStatus - 物资状态
	 */
	public void setFdMaterialStatus(String fdMaterialStatus) {
		this.fdMaterialStatus = fdMaterialStatus;
	}

	/**
	 * get the fdRemark - 备注
	 * 
	 * @return the fdRemark
	 */
	public String getFdRemark() {
		return this.fdRemark;
	}

	/**
	 * set the fdRemark - 备注
	 */
	public void setFdRemark(String fdRemark) {
		this.fdRemark = fdRemark;
	}

	/**
	 * @return the fdStockNum-库存数量//新加字段
	 */
	public Double getFdStockNum() {
		return fdStockNum;
	}

	/**
	 * @param fdStockNum
	 *            the fdStockNum to set-库存数量//新加字段
	 */
	public void setFdStockNum(Double fdStockNum) {
		this.fdStockNum = fdStockNum;
	}

	/**
	 * @return the fdSafeBaseNum-安全库存//新加字段
	 */
	public Double getFdSafeBaseNum() {
		return fdSafeBaseNum;
	}

	/**
	 * @param fdSafeBaseNum
	 *            the fdSafeBaseNum to set-安全库存//新加字段
	 */
	public void setFdSafeBaseNum(Double fdSafeBaseNum) {
		this.fdSafeBaseNum = fdSafeBaseNum;
	}

	/**
	 * @return the fdNeedNum-需求数量//新加字段
	 */
	public Double getFdNeedNum() {
		return fdNeedNum;
	}

	/**
	 * @param fdNeedNum
	 *            the fdNeedNum to set-需求数量//新加字段
	 */
	public void setFdNeedNum(Double fdNeedNum) {
		this.fdNeedNum = fdNeedNum;
	}

	/**
	 * get the fdTypeCode - 类别编码
	 * 
	 * @return the fdTypeCode
	 */
	public String getFdTypeCode() {
		return this.fdTypeCode;
	}

	/**
	 * set the fdTypeCode - 类别编码
	 */
	public void setFdTypeCode(String fdTypeCode) {
		this.fdTypeCode = fdTypeCode;
	}

	/**
	 * get the fdTypeAllCode - 类别全码
	 * 
	 * @return the fdTypeAllCode
	 */
	public String getFdTypeAllCode() {
		return this.fdTypeAllCode;
	}

	/**
	 * set the fdTypeAllCode - 类别全码
	 */
	public void setFdTypeAllCode(String fdTypeAllCode) {
		this.fdTypeAllCode = fdTypeAllCode;
	}

	/**
	 * get the fdTypeName - 类别名称
	 * 
	 * @return the fdTypeName
	 */
	public String getFdTypeName() {
		return this.fdTypeName;
	}

	/**
	 * set the fdTypeName - 类别名称
	 */
	public void setFdTypeName(String fdTypeName) {
		this.fdTypeName = fdTypeName;
	}
	
	/**
	 * get the fdMetricName - 计量单位名称
	 * 
	 * @return the fdMetricName
	 */
	public String getFdMetricName() {
		return this.fdMetricName;
	}

	/**
	 * set the fdMetricName - 计量单位名称
	 */
	public void setFdMetricName(String fdMetricName) {
		this.fdMetricName = fdMetricName;
	}

	/**
	 * get the value from Map
	 */
	@SuppressWarnings("rawtypes")
	public void fromMap(Map map) {

		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdMaterialCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialCode")), fdMaterialCode));
		setFdMaterialInnerCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialInnerCode")), fdMaterialInnerCode));
		setFdMaterialTypeId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialTypeId")), fdMaterialTypeId));
		setFdMaterialLastCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialLastCode")), fdMaterialLastCode));
		setFdMaterialName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialName")), fdMaterialName));
		setFdMaterialType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialType")), fdMaterialType));
		setFdSpecModel(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSpecModel")), fdSpecModel));
		setFdNumber(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdNumber")), fdNumber));
		setFdQuality(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdQuality")), fdQuality));
		setFdMetric(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMetric")), fdMetric));
		setFdPrice(NumberUtils.toDouble(StringUtils.toString(map.get("fdPrice")), fdPrice));
		setFdMatchDevice(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMatchDevice")), fdMatchDevice));
		setFdPurchasePeriod(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPurchasePeriod")), fdPurchasePeriod));
		setFdWeight(NumberUtils.toDouble(StringUtils.toString(map.get("fdWeight")), fdWeight));
		setFdSize(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSize")), fdSize));
		setFdParameter(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdParameter")), fdParameter));
		setFdFactory(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFactory")), fdFactory));
		setFdSupplyName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSupplyName")), fdSupplyName));
		setFdMaterialStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialStatus")), fdMaterialStatus));
		setFdRemark(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRemark")), fdRemark));
		// x新加字段
		setFdStockNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdStockNum")), fdStockNum));
		setFdSafeBaseNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdSafeBaseNum")), fdSafeBaseNum));
		setFdNeedNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdNeedNum")), fdNeedNum));
		setFdTypeCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTypeCode")), fdTypeCode));
		setFdTypeAllCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTypeAllCode")), fdTypeAllCode));
		setFdTypeName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTypeName")), fdTypeName));
		setFdMetricName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMetricName")), fdMetricName));
	}

	/**
	 * set the value to Map
	 */
	@SuppressWarnings({ "rawtypes", "unchecked" })
	public Map toMap() {

		Map map = new HashMap();
		map.put("fdKeyId", StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));
		map.put("fdMaterialCode", StringUtils.toString(fdMaterialCode, eiMetadata.getMeta("fdMaterialCode")));
		map.put("fdMaterialInnerCode", StringUtils.toString(fdMaterialInnerCode, eiMetadata.getMeta("fdMaterialInnerCode")));
		map.put("fdMaterialTypeId", StringUtils.toString(fdMaterialTypeId, eiMetadata.getMeta("fdMaterialTypeId")));
		map.put("fdMaterialLastCode", StringUtils.toString(fdMaterialLastCode, eiMetadata.getMeta("fdMaterialLastCode")));
		map.put("fdMaterialName", StringUtils.toString(fdMaterialName, eiMetadata.getMeta("fdMaterialName")));
		map.put("fdMaterialType", StringUtils.toString(fdMaterialType, eiMetadata.getMeta("fdMaterialType")));
		map.put("fdSpecModel", StringUtils.toString(fdSpecModel, eiMetadata.getMeta("fdSpecModel")));
		map.put("fdNumber", StringUtils.toString(fdNumber, eiMetadata.getMeta("fdNumber")));
		map.put("fdQuality", StringUtils.toString(fdQuality, eiMetadata.getMeta("fdQuality")));
		map.put("fdMetric", StringUtils.toString(fdMetric, eiMetadata.getMeta("fdMetric")));
		map.put("fdPrice", StringUtils.toString(fdPrice, eiMetadata.getMeta("fdPrice")));
		map.put("fdMatchDevice", StringUtils.toString(fdMatchDevice, eiMetadata.getMeta("fdMatchDevice")));
		map.put("fdPurchasePeriod", StringUtils.toString(fdPurchasePeriod, eiMetadata.getMeta("fdPurchasePeriod")));
		map.put("fdWeight", StringUtils.toString(fdWeight, eiMetadata.getMeta("fdWeight")));
		map.put("fdSize", StringUtils.toString(fdSize, eiMetadata.getMeta("fdSize")));
		map.put("fdParameter", StringUtils.toString(fdParameter, eiMetadata.getMeta("fdParameter")));
		map.put("fdFactory", StringUtils.toString(fdFactory, eiMetadata.getMeta("fdFactory")));
		map.put("fdSupplyName", StringUtils.toString(fdSupplyName, eiMetadata.getMeta("fdSupplyName")));
		map.put("fdMaterialStatus", StringUtils.toString(fdMaterialStatus, eiMetadata.getMeta("fdMaterialStatus")));
		map.put("fdRemark", StringUtils.toString(fdRemark, eiMetadata.getMeta("fdRemark")));
		// 新加字段
		map.put("fdStockNum", StringUtils.toString(fdStockNum, eiMetadata.getMeta("fdStockNum")));
		map.put("fdSafeBaseNum", StringUtils.toString(fdSafeBaseNum, eiMetadata.getMeta("fdSafeBaseNum")));
		map.put("fdNeedNum", StringUtils.toString(fdNeedNum, eiMetadata.getMeta("fdNeedNum")));
		map.put("fdTypeCode", StringUtils.toString(fdTypeCode, eiMetadata.getMeta("fdTypeCode")));
		map.put("fdTypeAllCode", StringUtils.toString(fdTypeAllCode, eiMetadata.getMeta("fdTypeAllCode")));
		map.put("fdTypeName", StringUtils.toString(fdTypeName, eiMetadata.getMeta("fdTypeName")));
		map.put("fdMetricName", StringUtils.toString(fdMetricName, eiMetadata.getMeta("fdMetricName")));
		return map;

	}
}